﻿using UnityEngine;
using System.Collections;
namespace GameEditor
{
    public class MapEditorMainMenu : BaseWidget
    {
        public GameObject BG;
        public GameObject Grid;
        public GameObject MapMgrBtn;

        public override void OnLoad()
        {
            UIEventListener.Get(MapMgrBtn).onClick += OnMapMgrClick;
        }

        public void OnMapMgrClick(GameObject go)
        {
            GameEditor.UI.Close("GameEditorMainMenu");
            GameEditor.UI.Show("MapsWindow");
        }

    }
}